package com.loyal.gps;

import androidx.annotation.IntDef;
import androidx.annotation.StringDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@StringDef({LoopType.REPEAT, LoopType.ONCE, LoopType.MORE})
@Retention(RetentionPolicy.SOURCE)
public @interface LoopType {
    /**
     * 仅一次
     */
    String ONCE = "once";
    /**
     * 重复定位
     */
    String REPEAT = "repeat";
    /**
     * 自定义次数
     */
    String MORE = "repeat-times";
}
